package com.sofwin.system.service.impl;

import com.sofwin.system.mapper.SysResourceMapper;
import com.sofwin.system.pojo.SysResource;
import com.sofwin.system.service.ResourceService;
import com.sofwin.system.vo.ResourceVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @packageName: com.sofwin.system.service.impl
 * @user: andyliu
 * @date: 2021/7/17 14:49
 * @email 115176513@qq.com
 * @description: TODO
 */
@Service
public class ResourceServiceImpl implements ResourceService {
    @Autowired
    private SysResourceMapper mapper;

    @Override
    public List<ResourceVO> queryAllResouces(Integer roleId) {
        return mapper.queryAllResouces(roleId);
    }
}
